package com.shanwen.shopping.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * 商品详细信息
 */
public class GoodsDetail implements Serializable{
    private static final long serialVersionUID = 4952701832095740318L;

    /** 活动价格 */
    public int activityPrice;
    /** 商品基本信息地址 */
    public String baseUrl;
    /** 封面url */
    public String coverUrl;
    /** 商品描述评分 */
    public double describeScore;
    /** 商品详情地址 */
    public String detailUrl;
    /** 商品发货速度评分 */
    public double devlieryScore;
    /** 商品主键编号 */
    public long goodsId;
    /** 商品类型 0=常规商品 1=代金券 */
    public int goodsType;
    /** 主图列表，多个以英文逗号隔开 */
    public String mainPics;
    /**  */
    public int marketPrice;
    /** 销售量 */
    public int saleNum;
    /** 销售价格，int类型，单位分 */
    public int salePrice;
    /** 卖点/特色/简介 */
    public String sellPoint;
    /** 商品服务态度评分 */
    public double serivceScore;
    /** 简介 */
    public String shortDesc;
    public String title;
    /** 商品总库存 */
    public int totalAmount;
    /** 商品价格区间，单位分 */
    public List<Integer> prices;
    /**
     * 商品sku价格信息，确定最终价格
     * 69:103 : {"originalPrice":0,"price":50000,"properties":"69:103","skuId":590,"stock":100}
     * 69:104 : {"originalPrice":0,"price":30000,"properties":"69:104","skuId":589,"stock":100}
     * 69:105 : {"originalPrice":0,"price":65000,"properties":"69:105","skuId":588,"stock":100}
     */
    public HashMap<String,SkuValue> skuValueMap;
    /**
     * sku商品属性集合
     * prop : [{"goodsPropName":"容量","goodsPropValueList":[{"69:105":"650ml"},{"69:104":"300ml"},{"69:103":"500ml"}],"isSku":true}]
     */
    public List<SkuProp> skuProps;



    /**
     * activityPrice : 0
     * baseUrl : http://42.121.253.209:8081/lqsw_website/buy/buy.jsp
     * coverUrl : http://42.121.255.86:6080/group1/M00/D6/87/F_AzRguglmXd9BSHIg.jpg
     * describeScore : 5
     * detailUrl : http://42.121.255.86/qyyd/zqsw/html/views/291.html
     * devlieryScore : 5
     * goodsId : 291
     * goodsType : 0
     * mainPics : http://42.121.255.86:6080/group1/M00/D3/CA/F_ZKqCgTBeepcxJP8K.jpg,http://42.121.255.86:6080/group1/M00/92/F5/F_qf9gIN3SqLdFINWC.jpeg,http://42.121.255.86:6080/group1/M00/2A/3A/F_jrwO5qz6Pgp1X0MT.jpg,http://42.121.255.86:6080/group1/M00/C8/E4/F_QnwCT8ZuotJg4pen.jpg
     * marketPrice : 0
     * prices : [30000,50000,65000]
     * prop : [{"goodsPropName":"容量","goodsPropValueList":[{"69:105":"650ml"},{"69:104":"300ml"},{"69:103":"500ml"}],"isSku":true}]
     * saleNum : 0
     * salePrice : 30000
     * sellPoint : 底价提前放送 还等什么！
     * serivceScore : 5
     * shortDesc : 优级解百纳分清爽型和醇厚型两种，随机发货~
     * skuMap : {"69:103":{"originalPrice":0,"price":50000,"properties":"69:103","skuId":590,"stock":100},"69:104":{"originalPrice":0,"price":30000,"properties":"69:104","skuId":589,"stock":100},"69:105":{"originalPrice":0,"price":65000,"properties":"69:105","skuId":588,"stock":100}}
     * title : 长城干红葡萄酒优级解百纳750ml/国产红酒整箱特惠
     * totalAmount : 300
     */
}
